package com.example.flashsales.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ZhekouVo {
    private long id;
    private long orderId;
    private long userId;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8") //在时间属性上面加上该注解
    private java.sql.Timestamp createTime;
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8") //在时间属性上面加上该注解
    private java.sql.Timestamp endTime;
    private double money;
    private double zhekou;
    private String state;
    private String name;
}
